<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript">
	var system_basePath = "<%=basePath %>";
</script>
<script src="js/role.js"></script>
<div class="row" id="role_list_div">
	<!-- 角色列表 -->
	<div class="col-xs-6">
		<div class="widget-box widget-color-green2">
			<div class="widget-header">
				<h4 class="widget-title lighter smaller">角色列表</h4>
			</div>
			<div class="widget-body" style="padding: 0px 8px 0px 0px;">
				<table id="role_grid"></table>
			</div>
		</div>
	
		
	</div>
	<div class="col-xs-6" style="display: none;" id="rolePrivilegeTree_div">
		<div class="widget-box widget-color-blue2">
			<div class="widget-header">
				<h4 class="widget-title lighter smaller" id="rolePrivilegeTitle">角色权限</h4>
			</div>
			<div class="widget-body" >
					<ul id="rolePrivilegeTree" class="ztree"></ul>
					<div class="clearfix form-actions" id="operation_btn_div" style="display: none;margin-bottom: 0px;">
						<div class="col-md-offset-3 col-md-9">
							<button onclick="btnSubmit()" class="btn btn-info" type="button">
								<i class="ace-icon fa fa-check bigger-110"></i>
								提交
							</button>
							&nbsp; &nbsp; &nbsp;
							<button class="btn" onclick="btnCancelOnClick()" type="reset">
								<i class="ace-icon fa fa-undo bigger-110"></i>
								还原
							</button>
						</div>
				</div>
			</div>
		</div>
		
	</div>
</div>
